package com.yayyay.jwt.controller;

import com.yayyay.commom.entity.SysRole;
import com.yayyay.jwt.service.RoleService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: liangSY
 * @Date: 2021/9/24 16:05
 * @ClassName: RoleController
 */
@RestController
@RequestMapping("/role/")
public class RoleController {

    @Resource
    RoleService roleService;

    @PostMapping("add")
    public void addRole(SysRole role){

    }

}
